package client;
//the  personal information 
class Per_Info
{
	   private  String name=null;
       private  int sex=0;
       private  int islogin=0;
       private  String position=null;
       private  int grade;
       private String gname = null;
       Per_Info(String name,int sex, int islogin,String position,int grade,String gname)
       {
    	 this.name=name;  
    	 this.sex=sex;
    	 this.islogin=islogin;
    	 this.position= position;
    	 this.grade=grade;
    	 this.gname =gname;
       }
     
       int  get_grade()
       {
    	   return this.grade; 
       }
       void set_grade(int grade)
       {
    	   this.grade=grade; 
       }
       int  get_sex()
       {
    	   return this.sex; 
       }
       void set_sex(int sex)
       {
    	   this.sex=sex; 
       }
       int  get_login()
       {
    	   return this.islogin; 
       }
       void set_name(String name)
       {
    	   this.name=name; 
       }
       String  get_name()
       {
    	   return this.name; 
       }
       void set_islogin()
       {
    	   this.islogin=1; 
       }
       void set_islogoff()
       {
    	   this.islogin=0; 
       }
       void set_position(String position)
       {
    	   this.position=position; 
       }
       String get_position()
       {
    	  return  this.position; 
       }
       void set_gname(String gname)
       {
    	   this.gname=gname; 
       }
       String get_gname()
       {
    	  return  this.gname; 
       }
}
